pp108 : CalculateEndDateInSeconds (Deprecated)

CalculateEndDateInSeconds (Deprecated)


This method calculates the end date after a given start date and the duration in seconds.

Note: The use of this method is deprecated; use CalculateEndDate instead.

SOAP Request

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <calculateEndDateInSeconds xmlns="http://schemas.cordys.com/buscalendar/runtime/BusinessCalendar/1.0">
            <WorkspaceID>002481F0-8E9F-11E2-EE36-A5EED1105F38</WorkspaceID>
            <calendarName>Calender1</calendarName>
            <startDate>2008-09-23T22:37:53.234</startDate>
            <seconds>50</seconds>
        </calculateEndDateInSeconds>
    </SOAP:Body>
</SOAP:Envelope>
Request Parameters

Parameter

Description

Mandatory

Accepted Input Values

WorkspaceID ID of CWS Workspace No GUID (optional)

calendarName

Unique identifier for the calendar. This can be a full qualified name or a document ID.

Yes

You can specify one of the following values:

  • Full Qualified Name (FQN)
  • Document ID

startDate

Start date

Yes

Date must be in the UTC format. For example 2008-09-23T22:37:53.234.

seconds

Duration in seconds

Yes

Any non-negative integer value

SOAP Response

<data>
    <calculateEndDateInSecondsResponse
        xmlns="http://schemas.cordys.com/buscalendar/runtime/BusinessCalendar/1.0" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
        <calculateEndDateInSeconds>2008-09-29T03:30:50.234</calculateEndDateInSeconds>
    </calculateEndDateInSecondsResponse>
</data>
Response Parameters

Parameter

Description

calculateEndDateInSeconds

Date in UTC